ENT-13005: Added integrity check to cf-remote remote installation#174
ENT-13005: Added integrity check to cf-remote remote installation#174victormlg wants to merge 1 commit intocfengine:masterfrom
Conversation
6c48260 to
f43babf
Compare
f43babf to
c52900a
Compare
larsewi
left a comment
There was a problem hiding this comment.
Remember to test the script 😉
c52900a to
b680be0
Compare
larsewi
left a comment
There was a problem hiding this comment.
Most of these checks can be done before you actually download the file. Maybe do these checks first, and then download.
b680be0 to
8cb770f
Compare
olehermanse
left a comment
There was a problem hiding this comment.
Please expand nt-discovery.sh and then do the error checking as early as possible (as fast as possible). This way you can detect errors right after running nt-discovery.sh, without having to transfer over another script.
3e755d9 to
ea263af
Compare
ea263af to
ca9da21
Compare
|
|
||
| print("Downloading '%s' on '%s' using curl" % (package, host)) | ||
| r = ssh_cmd( | ||
| cmd="curl --fail -O {}".format(package), connection=connection, errors=True |
There was a problem hiding this comment.
This code preferred curl. Why is wget preferred now?
There was a problem hiding this comment.
This is intended in the ticket https://northerntech.atlassian.net/browse/ENT-13005
There was a problem hiding this comment.
I don't think that's right, the ticket says;
Download with wget if that is available and curl is not
63c24f3 to
5737c1f
Compare
Ticket: ENT-13005 Signed-off-by: Victor Moene <victor.moene@northern.tech>
5737c1f to
4296c22
Compare
No description provided.